package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 【请填写功能名称】对象 vendor_settlement
 *
 * @author wlmes
 * @date 2023-12-17
 */
@ApiModel("【请填写功能名称】")
public class VendorSettlement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 结算单号 */
    @Excel(name = "结算单号")
    @ApiModelProperty("结算单号")
    private String businessNum;

    /** 园区 */
    @Excel(name = "园区")
    @ApiModelProperty("园区")
    private String area;

    /** $column.columnComment */
    @Excel(name = "园区")
    @ApiModelProperty("园区")
    private Long vendorId;

    /** $column.columnComment */
    @Excel(name = "园区")
    @ApiModelProperty("园区")
    private String vendorName;

    @ApiModelProperty("结算日期")
    private String settlementTime;

    /** 结算总金额 */
    @Excel(name = "结算总金额")
    @ApiModelProperty("结算总金额")
    private BigDecimal money;

    private String status;//状态 0-待确认 1-确认

    List<VendorSettlementDetail> vendorSettlementDetailList;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<VendorSettlementDetail> getVendorSettlementDetailList() {
        return vendorSettlementDetailList;
    }

    public void setVendorSettlementDetailList(List<VendorSettlementDetail> vendorSettlementDetailList) {
        this.vendorSettlementDetailList = vendorSettlementDetailList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusinessNum(String businessNum)
    {
        this.businessNum = businessNum;
    }

    public String getBusinessNum()
    {
        return businessNum;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setVendorId(Long vendorId)
    {
        this.vendorId = vendorId;
    }

    public Long getVendorId()
    {
        return vendorId;
    }
    public void setVendorName(String vendorName)
    {
        this.vendorName = vendorName;
    }

    public String getVendorName()
    {
        return vendorName;
    }

    public String getSettlementTime() {
        return settlementTime;
    }

    public void setSettlementTime(String settlementTime) {
        this.settlementTime = settlementTime;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }

    @Override
    public String toString() {
        return "VendorSettlement{" +
                "id=" + id +
                ", businessNum='" + businessNum + '\'' +
                ", area='" + area + '\'' +
                ", vendorId=" + vendorId +
                ", vendorName='" + vendorName + '\'' +
                ", settlementTime='" + settlementTime + '\'' +
                ", money=" + money +
                ", statue='" + status + '\'' +
                ", vendorSettlementDetailList=" + vendorSettlementDetailList +
                '}';
    }
}
